﻿using System.Collections.Generic;
using System.Drawing;
using System;
using System.Windows.Forms;

namespace BuddHa.ApeForms
{
    public partial class DemoForm : Form
    {
        public DemoForm()
        {
            InitializeComponent();
        }

        // 导航栏数据
        private NavigationBarData[] nav = new NavigationBarData[]
        {
        };
    }

    /// <summary>
    /// 导航栏数据
    /// </summary>
    public class NavigationBarData : Dictionary<string, Lazy<Control>>
    {
        public string Name { get; set; }
        public Icon Icon { get; set; }

        public NavigationBarData(string name, Icon icon = null)
        {
            Name = name;
            Icon = icon;
        }
    }
}
